{include file="header.tpl"}

	<h1>Edit User</h1>

   {include file="admin_sidebar.tpl"}

   <div id="content">
   
      {include file="flashes.tpl"}

   	<form id="frm_user" action="" method="post">
   
   		<fieldset class="panel">
   			
   			<div>
   				<label for="display_name">Display Name:</label>
        			<input id="display_name" name="display_name" type="text" value="{$user.display_name}" />
        			{if $user.errors.display_name}<p class="error">{$user.errors.display_name}</p>{/if}
   	 		</div>
   			
   			<div>
   				<label for="email">Email:</label>
        			<input class="wide" id="email" name="email" type="text" value="{$user.email}" />
        			{if $user.errors.email}<p class="error">{$user.errors.email}</p>{/if}
   	 		</div>
   	 		
   		</fieldset>
   
   		<div class="button_bar">
   			<button type="submit" name="submit_frm_user" value="1">Submit</button>
   			<button type="button" onclick="spf.navigate('users')">Cancel</button>
   		</div>
   		
   	</form>
      
      <div class="clear"></div>
      
   </div>
   
{include file="footer.tpl"}
